package com.nine.IService;

import java.util.List;

import com.nine.entity.Category;
import com.nine.entity.Item;

public interface ItemService {
	List getItemInfoOfSelectedCategory(String CategoryId);

	List SearchItem(Category category);

	List SearchItem(String Type, double price, double discount, String name);

	List<Item> getItem(int cartId, int itemId);

	List<Item> queryItemsFromDatabase(String CategoryId);

	void addItemToDatabase(Item item);

	Item queryOneItemFromDatabase(int itemId);

	void editItemToDatabase(Item item);

	void deleteItemFromDatabase(int itemId);

}
